#!/usr/bin/python3

# 猜数字游戏

number = 6
guess = -1

while guess != number:
    guess = int(input("输入你猜的数字："))
    if guess == number:
        print("恭喜你，猜对了。")
    elif guess < number:
        print("猜的数字小了...")
    elif guess > number:
        print("猜的数字大了...")
